<?php
$this->breadcrumbs=array();

if (strtolower(Yii::app()->language) == 'fi_fi') {
	$this->pageTitle = 'Yamii - Tarjoustutkasi';
	$postfix = 'fin';
	$alt1 = 'Varaa tämä tarjous myöhempää käyttöä varten';
	$alt2 = 'Skannaa QR-koodin paikan päällä saadakseen tarjouksen';
	$alt3 = 'Näytä leima lunastaa tarjouksen';
} else {
	$this->pageTitle = 'Yamii - Your Deal Radar';
	$postfix = 'eng';
	$alt1 = 'reserve an offer';
	$alt2 = 'scan the barcode';
	$alt3 = 'show the stamp to redeem the offer';
}
?>
<div class="row-fluid" style="margin-bottom:32px;">
	<div class="span8 clearfix" style="text-align:center;">
		<a href="<?php echo Yii::app()->createUrl('app/mobile', array('download'=>1, 'type'=>'iphone')); ?>" target="_blank"><img src="<?php echo Yii::app()->baseUrl; ?>/img/app-store-icon.png" alg="Yamii in App Store" /></a>
		<a href="<?php echo Yii::app()->createUrl('app/mobile', array('download'=>1, 'type'=>'android')); ?>" target="_blank"><img src="<?php echo Yii::app()->baseUrl; ?>/img/google-play-icon.png" alg="Yamii in Google Play Store" /></a>
	</div>
</div>
<div class="row-fluid">
	<div class="span12" style="width:320px;">
		<div class="carousel slide" id="myCarouse2">
			<div class="carousel-inner">
				<div class="item active">
					<img alt="reserve an offer" src="<?php echo Yii::app()->baseUrl; ?>/img/app/screenshots.reserve.<?php echo $postfix; ?>.png" />
				</div>
				<div class="item">
					<img alt="scan the barcode" src="<?php echo Yii::app()->baseUrl; ?>/img/app/screenshots.scan.<?php echo $postfix; ?>.png" />
				</div>
				<div class="item">
					<img alt="show the stamp to redeem the offer" src="<?php echo Yii::app()->baseUrl; ?>/img/app/screenshots.redeem.<?php echo $postfix; ?>.png" />
				</div>
			</div>
		</div>
	</div>
</div>
<script>
$(function() {
	$('.carousel').carousel({interval: 3000});
});
</script>